package com.chentf.entity;

import java.io.Serializable;
import java.util.*;

/**
 * @author chentengfei
 * @desc 通用工程
 * @date 2020-12-26 16:12:45
 */
public class Person implements Serializable {
    private Integer id;
    private String name;
    private String[] emails;
    private Set<String> tels;
    private List<String> addresses;
    private Properties p;
    private Map<String, String> map;

    public Person() {
        System.out.println("Person.Person");
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getEmails() {
        return emails;
    }

    public void setEmails(String[] emails) {
        this.emails = emails;
    }

    public Set<String> getTels() {
        return tels;
    }

    public void setTels(Set<String> tels) {
        this.tels = tels;
    }

    public List<String> getAddresses() {
        return addresses;
    }

    public void setAddresses(List<String> addresses) {
        this.addresses = addresses;
    }

    public Properties getP() {
        return p;
    }

    public void setP(Properties p) {
        this.p = p;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", emails=" + Arrays.toString(emails) +
                ", tels=" + tels +
                ", addresses=" + addresses +
                ", p=" + p +
                ", map=" + map +
                '}';
    }
}
